import java.util.ArrayList;

public class StudentClass {
    private ArrayList<Student> students=new ArrayList<>();
    private ArrayList<Group> groups=new ArrayList<>();

    public StudentClass() {
    }

    public StudentClass(ArrayList<Student> students) {
        this.students = students;
    }

    public ArrayList<Student> getStudents() {
        return students;
    }

    public void setStudents(ArrayList<Student> students) {
        this.students = students;
    }

    public int getNumberOfStudents() {
        return students.size();
    }

    public ArrayList<Group> getGroups() {
        return groups;
    }

    public void setGroups(ArrayList<Group> groups) {
        this.groups = groups;
    }
}
